package com.tony;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class ServiceA {


    public static void main(String[] args) {
        //new SpringApplicationBuilder(ServiceA1.class).web(true).profiles("A1").run();
        new SpringApplicationBuilder(ServiceA.class).web(true).run();
    }
}
